<div class="panel-body-content">
    <ol class="breadcrumb">
        <li>系统角色管理</li>
        <li class="active">系统角色列表</li>
    </ol>
</div>
<div class="page page-table" data-ng-controller="ListSysRoleCtrl">
    <section class="panel panel-default table-dynamic">
        <div class="panel-heading"><strong><span class="glyphicon glyphicon-th"></span>系统角色信息列表</strong></div>
        <div class="panel-body">
            <div class="table-filters">
                <div class="row">
                    <div class="col-md-2 col-xs-12 pull-right" style="width:75px;">
                        <a href="javascript:;" ng-click="add()" class="btn-icon btn-icon-sm bg-success"><span class="glyphicon glyphicon-plus-sign"></span></a>
                        <a href="javascript:;" ng-click="refresh()" class="btn-icon btn-icon-sm bg-danger"><span class="glyphicon glyphicon-refresh"></span></a>
                    </div>
                </div>
            </div>
            <table class="table table-bordered table-striped table-responsive">
                <thead>
                <tr>
                    <th style="width:50px;">
                        <div class="th">Id</div>
                    </th>
                    <th style="width:80px;">
                        <div class="th">角色名称</div>
                    </th>
                    <th style="width:40px">
                        <div class="th">状态</div>
                    </th>
                    <th>
                        <div class="th">权限列表</div>
                    </th>
                    <th style="width:60px">
                        <div class="th">操作</div>
                    </th>
                </tr>
                </thead>
                <tbody>
                <tr class="text-center text-size-12" data-ng-repeat="store in stores" ng-if="stores.length>0">
                    <td>{{store.id}}</td>
                    <td>{{store.name}}</td>
                    <td>
                        <span ng-show="{{store.status==1}}" class="text-success">√</span>
                        <span ng-show="{{store.status!=1}}" class="text-danger">×</span>
                    </td>
                    <td style="text-align:left;"><p ng-bind-html="store.purview|trust"></p></td>
                    <td>
                        <span class="text-success"><a href="javascript:;" ng-click="edit(store.id)">编辑</a></span>
                    </td>
                </tr>
                <tr class="text-center" ng-if="stores.length==0">
                    <td colspan="10" ng-bind="loadTip"></td>
                </tr>
                </tbody>
            </table>
        </div>
    </section>
</div>

